<template>
    <div class="tabbar-container" v-show="isShowTab">
        <div class="tabbar-wrapper">
            <slot></slot>
        </div>
    </div>   
</template>

<script>
export default {
    computed:{
        isShowTab:function(){
            return this.$route.meta.isShowTab;
        }
    }
}
</script>

<style scoped>
*{
    margin:0px;
    padding:0px;
}
.tabbar-container{
    width:100%;
    height:64px;
    position: fixed;
    bottom:0px;
    left:0px;
    background-color:white;
    /* border-top:1px solid lightgray; */
}
.tabbar-wrapper{
    width:100%;
    height:100%;
    border:1px solid lightgray;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
}
</style>